package com.zabra.zl.ui.runing.model;

import com.zabra.zl.data.RunningListBean;
import com.zabra.zl.data.RunningTypeBean;
import com.zabra.zl.net.RetrofitClient;
import com.zabra.zl.ui.runing.contract.RunningContract;

import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;

public class RunningModel implements RunningContract.Model {
    @Override
    public Call<RunningTypeBean> getTypeData() {
        return RetrofitClient.getInstance().getApi().getRunningTypeData();
    }

    @Override
    public Call<RunningListBean> getData(RequestBody body) {
        return RetrofitClient.getInstance().getApi().getRunningListData(body);
    }


}
